home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 138
/
Volume 138 Aug 19 2011 - Damaged.iso
/
Games
/
shadez.swf
/
scripts
/
Shadez_TheBlackOperations_fla
/
Monkey_294.as
< prev
next >
Wrap
Text File
|
2011-08-19
|
2KB
|
66 lines
package Shadez_TheBlackOperations_fla
{
import Local.External.CURL;
import flash.display.MovieClip;
import flash.display.SimpleButton;
import flash.events.Event;
import flash.events.MouseEvent;
import flash.events.TimerEvent;
import flash.utils.Timer;
public dynamic class Monkey_294 extends MovieClip
{
public var bTButton:SimpleButton;
public var nTimer:Timer;
public var mFinished:Boolean;
public function Monkey_294()
{
super();
addFrameScript(0,frame1,115,frame116);
}
public function e_ANIMATE(param1:TimerEvent) : void
{
this.nextFrame();
if(this.currentFrame == this.totalFrames)
{
nTimer.removeEventListener("timer",e_ANIMATE);
dispatchEvent(new Event("FINISHED"));
}
}
public function e_GOTOURL(param1:MouseEvent) : void
{
CURL.Sponsor();
}
function frame1() : *
{
stop();
mFinished = false;
bTButton.addEventListener(MouseEvent.MOUSE_UP,e_GOTOURL);
nTimer = new Timer(1000 / 24);
nTimer.addEventListener("timer",e_ANIMATE);
}
public function START() : *
{
visible = true;
nTimer.start();
}
function frame116() : *
{
if(true)
{
stop();
}
}
}
}